package com.farseer810.model;

public class Student {
	
	private int id;
	private String number;
	private String name;
	private Class belongClass;
	private int chineseScore;
	private int mathScore;
	private int englishScore;
	
	public Student() {
	}
	
	public Student(int id, String number, String name, Class belongClass, int chineseScore, int mathScore, int englishScore) {
		this.id = id;
		this.number = number;
		this.name = name;
		this.belongClass = belongClass;
		this.chineseScore = chineseScore;
		this.mathScore = mathScore;
		this.englishScore = englishScore;
	}

	public int getId() {
		return id;
	}

	public String getNumber() {
		return number;
	}
	
	public String getName() {
		return name;
	}

	public Class getBelongClass() {
		return belongClass;
	}

	public int getChineseScore() {
		return chineseScore;
	}

	public int getMathScore() {
		return mathScore;
	}

	public int getEnglishScore() {
		return englishScore;
	}
	
	public int getTotalScore() {
		return this.chineseScore + this.mathScore + this.englishScore;
	}
}
